package com.study.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.study.common.annotation.Excel;
import com.study.common.core.domain.BaseEntity;

/**
 * 教师扩展信息对象 sys_teacher
 * 
 * @author rose
 * @date 2025-05-21
 */
public class SysTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联若依用户ID（教师账号） */
    @Excel(name = "关联若依用户ID", readConverterExp = "教=师账号")
    private Long userId;

    /** 职称（如：教授） */
    @Excel(name = "职称", readConverterExp = "如=：教授")
    private String title;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("title", getTitle())
            .toString();
    }
}
